package add;

public class Add {
    private int re;
    public String str="1";
    public void ADD(int x,int y){
        re=x+y;
    }
    public void Sub(int x,int y){
        re=x-y;
    }

    public void claer(){
        re=0;
    }
    public int getRe(){
        return re;
    }
    public void Multiply(int x,int y){
        re=x*y;

    }
    public void divide(int x,int y){
        re = x/y;
    }
    public boolean Log(String username,String passswprd){
        if (username.equals("Admin") && passswprd.equals("123456")){
            return true;
        }else {
            return false;
        }
    }

}
